# vim:set ft=sh:
run_hook ()
{
   if [ -d "/sys/power/tuxonice" ]; then
        suspend2ui="/sys/power/tuxonice/user_interface/program"
   else
        suspend2ui="/proc/suspend2/userui_program"
   fi
   if [ -e ${suspend2ui} ]; then
       echo "/sbin/suspend2ui" > ${suspend2ui}
   fi
}

